package com.gxa.service.investment;

import com.github.pagehelper.PageInfo;
import com.gxa.dto.investmentDto.CompanyQuitDto;
import com.gxa.dto.investmentDto.CompanyQuitResult;
import com.gxa.entity.investment.CompanyQuit;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 退园管理 服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-16 11:39:46
 */
public interface CompanyQuitService extends IService<CompanyQuit> {
    int add(CompanyQuit companyQuit);
    int delete(Integer id);

    CompanyQuitResult queryById(Integer id);

    List<CompanyQuit> seletAll();
    int update(CompanyQuit companyQuit);

    PageInfo<CompanyQuitResult> queryByCompanyQuitDto(CompanyQuitDto companyQuitDto, Integer pageNum, Integer pageSize);

    List<CompanyQuitResult> selectAll();

}
